var express = require('express');
var router = express.Router();
var article = require('../controller/getArticleList')

router.get('/all', article.getArticle); //文章获取接口
router.get('/getid', article.getIdArticle); //根据文章类型获取数据接口
router.get('/articletype', article.getTypeArticle); //根据文章类型获取数据接口
router.post('/add', article.insertArticle); //添加文章数据接口
router.delete('/deleteid', article.deleteArticle); //删除文章数据接口
router.get('/updatesign', article.getArticleSign); //删除文章数据接口


module.exports = router; 